package com.jk.order.service;

import com.jk.common.model.AddressBean;
import com.jk.common.model.ChinaAddressBean;
import com.jk.common.model.FlowerBean;
import com.jk.common.model.OrderBean;

import java.util.List;
import java.util.Map;

public interface OrderService {
    List<ChinaAddressBean> getProviceBind(Integer pid);

    void saveUserAddress(AddressBean addressBean);


    Map generateOrderId(String userId, String flowerIds);

    void orderSave(OrderBean orderBean);

    AddressBean findUserAddress(String userId);

    //修改支付状态
    void updateById(String orderNumber);

    //查看该订单得数据
    OrderBean orderNumber(String orderNumber);

    //修改mongdb中的状态
    void saveOrder(String orderNumber);

    FlowerBean queryFlowerPrice(Integer flowerId);
}
